package com.shujia.homework;

public class ItWorkerTest {

    public static void main(String[] args) {
        ItWorker itWorker = new ItWorker("数据库运维");
        itWorker.setName("马化腾");
        itWorker.setAge(47);
        itWorker.setWorkYears(10);
        itWorker.work("腾讯", "数据库运维工程师");


        ItWorker itWorker1 = new ItWorker("Java开发");
        itWorker1.setName("张凯");
        itWorker1.setAge(10);
        itWorker1.setWorkYears(1);
        itWorker1.work("鼎盛科技", "Java开发工程师");
    }
}
